package com.example.yingjiguanli_demo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 导师与学员会议预约表
 * </p>
 *
 * @author scj
 * @since 2024-12-07
 */
@Getter
@Setter
public class Appointments implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 预约唯一标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 对应的匹配ID，关联 matches 表
     */
    private Integer matchId;

    /**
     * 预约的会议时间
     */
    private LocalDateTime scheduledTime;

    /**
     * 预约状态，默认为已预约
     * 'scheduled', 'completed', 'cancelled'
     */
    private String status;

    /**
     * 预约创建时间
     */
    private LocalDateTime createdAt;
}
